
function millhostname(){
	if [ -z $1 ]
	then
		echo "place press hostname"
		return 1
	fi

	t=""

	t=$(grep HOSTNAME  /etc/sysconfig/network)  
	
	if [ -n $t ] ;then
		t= $(sed -i "/HOSTNAME/d" /etc/sysconfig/network )
	fi
	t=$(sed -i "1a\HOSTNAME\=$1" /etc/sysconfig/network )
	hostname $1
	echo $t
}
